package team.hyznrj.studentsys.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import team.hyznrj.studentsys.entity.MBG_CourseAchievement;
import team.hyznrj.studentsys.entity.MBG_CourseAchievementExample;
import team.hyznrj.studentsys.entity.SimpleCourseEntity;

public interface MBG_CourseAchievementMapper {
	List<SimpleCourseEntity> selectBySimpleReturnPE(MBG_CourseAchievementExample example);
	
	List<SimpleCourseEntity> selectBySimple(MBG_CourseAchievementExample example);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int countByExample(MBG_CourseAchievementExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int deleteByExample(MBG_CourseAchievementExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int insert(MBG_CourseAchievement record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int insertSelective(MBG_CourseAchievement record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    List<MBG_CourseAchievement> selectByExample(MBG_CourseAchievementExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    MBG_CourseAchievement selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int updateByExampleSelective(@Param("record") MBG_CourseAchievement record, @Param("example") MBG_CourseAchievementExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int updateByExample(@Param("record") MBG_CourseAchievement record, @Param("example") MBG_CourseAchievementExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int updateByPrimaryKeySelective(MBG_CourseAchievement record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_achievement
     *
     * @mbggenerated Thu May 17 22:34:34 CST 2018
     */
    int updateByPrimaryKey(MBG_CourseAchievement record);
}